//
//  SISSHouseCooperationModel.h
//  SISSAPP
//
//  Created by 优房网 on 2017/4/25.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SISSHouseResourceTagModel.h"

@interface SISSHouseCooperationDetailModel : NSObject

@property (copy, nonatomic) NSString *ID;

/**
 房源合作id
 */
@property (copy, nonatomic) NSString *ahcrId;
/**
 spId
 */
@property (copy, nonatomic) NSString *spId;
/**
 房源信息编码
 */
@property (copy, nonatomic) NSString *houseInfoNo;
/**
 合同编码
 */
@property (copy, nonatomic) NSString *contractNo;
/**
 小区
 */
@property (copy, nonatomic) NSString *neighbourhood;
/**
 区域
 */
@property (copy, nonatomic) NSString *region;
/**
 详细区域
 */
@property (copy, nonatomic) NSString *regionDetail;
/**
 楼层
 */
@property (assign, nonatomic) NSInteger floor;
/**
 总楼层
 */
@property (assign, nonatomic) NSInteger totalFloor;
/**
 房屋类型 一房 二房
 */
@property (copy, nonatomic) NSString *houseType;
/**
 建筑年代
 */
@property (assign, nonatomic) NSInteger year;
/**
 面积
 */
@property (assign, nonatomic) CGFloat area;
/**
 价格
 */
@property (assign, nonatomic) CGFloat price;
/**
 平均价格
 */
@property (assign, nonatomic) CGFloat averagePrice;
/**
 装修程度
 */
@property (copy, nonatomic) NSString *decoration;
/**
 朝向
 */
@property (copy, nonatomic) NSString *direction;
/**
 产权状态
 */
@property (copy, nonatomic) NSString *propertyState;
/**
 房屋优劣势
 */
@property (copy, nonatomic) NSString *otherdesc;
/**
 标签模型数组
 */
@property (strong, nonatomic) NSArray<SISSHouseResourceTagModel *> *listTag;
/**
 房源id
 */
@property (copy, nonatomic) NSString *ahrId;
/**
 房源登记时间
 */
@property (copy, nonatomic) NSString *house_insert_time;
/**
 idNo
 */
@property (copy, nonatomic) NSString *idNo;
/**
 中介头像url
 */
@property (copy, nonatomic) NSString *portrait;
/**
 中介姓名
 */
@property (copy, nonatomic) NSString *name;
/**
 公司名
 */
@property (copy, nonatomic) NSString *organName;
/**
 公司简称
 */
@property (copy, nonatomic) NSString *shortName;
/**
 中介星级
 */
@property (assign, nonatomic) NSInteger star_level;
/**
 评论人数
 */
@property (assign, nonatomic) NSInteger comment_count;
/**
 评分
 */
@property (assign, nonatomic) NSInteger score;
/**
 房源量
 */
@property (assign, nonatomic) NSInteger house_count;
/**
 客源量
 */
@property (assign, nonatomic) NSInteger demand_count;
/**
 合作说明
 */
@property (copy, nonatomic) NSString *cooperation_desc;
/**
 合作发布时间
 */
@property (copy, nonatomic) NSString *cooperation_insert_time;
/** 
 合作范围 1.全行业2.公司。3门店
 */
@property (assign, nonatomic) NSInteger cooperation_range;
/**
 房源类型 1线上房源  2线下房源
 */
@property (assign, nonatomic) NSInteger houseresType;
/**
 房源图片
 */
@property (copy, nonatomic) NSArray *houseImage;
/**
 imAccount
 */
@property (copy, nonatomic) NSString *imAccount;

/**
 发布方佣金比
 */
@property (assign, nonatomic) NSInteger commission_rate;



@end


/*
 
 {
 "userName": null,
 "token": null,
 "houseInfoNo": "123123",
 "contractNo": "213",
 "neighbourhood": "安抚",
 "region": "罗湖",
 "regionDetail": "百仕达",
 "floor": 2,
 "totalFloor": 7,
 "houseType": "一房",
 "year": 2015,
 "area": 123,
 "price": 120,
 "averagePrice": 0.975609756097561,
 "decoration": "精装",
 "direction": "南",
 "propertyState": "个人产权",
 "otherdesc": "请问",
 "listTag": [
 {
 "id": null,
 "ahrId": null,
 "tag": "红本在手",
 "color": 0
 },
 {
 "id": null,
 "ahrId": null,
 "tag": "学位房",
 "color": 0
 }
 ],
 "id": 3345415009010688,
 "house_insert_time": "2017-04-24 16:31:19",
 "idNo": "452231199105022049",
 "portrait": "http://10.168.1.136:8080/srba_siss_main/upload/PERSON/OTHERS/453352/3311136608502784.jpg",
 "name": "莫正慧",
 "organName": "美联物业代理(深圳)有限公司",
 "star_level": 1,
 "comment_count": 0,
 "score": 0,
 "house_count": 0,
 "demand_count": 0,
 "cooperation_desc": "防守打法",
 "cooperation_insert_time": "2017-04-24 16:35:02"
 }
 
 */
